package com.cmict.data.bpm.service.definition.deploy;

import com.cmict.data.bpm.service.definition.dto.BpmProcessDefinitionCreateReqDTO;
import org.flowable.engine.repository.Model;

import javax.validation.Valid;

/**
 * @author liutao
 * @date 2022/9/22
 */
public interface BpmModelDeployService {

    void deploy(Model model);

    String createProcessDefinition(@Valid BpmProcessDefinitionCreateReqDTO createReqDTO);
}
